package com.jiangjiang.eshop.customer.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.ibatis.annotations.Param;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.Valid;
import java.util.Date;

/**
 * @ClassName ReturnGoodsWorksheetDTO
 * @Description 退货工单DTO
 * @Author jhw
 * @Date 2021/5/24 23:41
 * @Version 1.0
 **/
@Data
public class ReturnGoodsWorksheetDTO {
    /**
     * id
     */
    private Long id;
    /**
     * 订单id
     */
    private Long orderInfoId;
    /**
     * 订单编号
     */
    private String orderNo;
    /**
     * 退货工单的状态
     */
    private Integer status;
    /**
     * 退货原因
     */
    private Integer returnGoodsReason;
    /**
     * 退货备注
     */
    private String returnGoodsRemark;
    /**
     * 退货物流单号
     */
    private String returnGoodsLogisticsCode;
    /**
     * 退货工单的创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date gmtCreate;
    /**
     * 退货工单的修改时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date gmtModified;
}
